package com.white.shm.service;

import com.alibaba.fastjson.JSONObject;
import com.white.shm.entity.Admin;

/**
 *
 *
 * @title AdminServices.java
 * @since 2019/12/13 00:23
 * @author White
 * @version 1.0
 */
public interface AdminService {

    /**
     * 保存Admin
     *
     * @title save
     * @param admin admin
     * @since 2019/12/13 02:30
     * @author White
     */
    void save(Admin admin);

    /**
     *
     *
     * @title login
     * @param param
     * @return com.white.shm.entity.Admin
     * @since 2019/12/18 00:35
     * @author White
     */
    Admin login(JSONObject param);
}
